<%@ page contentType="text/plain;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>
<json:object>
    <json:property name="page"><s:property value="page.pageNo"/></json:property>
    <json:property name="total"><s:property value="page.totalCount"/></json:property>
    <json:array name="rows">
        <s:iterator value="page.result" id="channel">
        <json:object>
            <json:property name="id" ><s:property value="#channel.id" escape="false"/></json:property>
            <json:property name="qipuId" escapeXml="false"><a target="_blank" href="http://qipu-test.qiyi.domain/int/entity/nocache/<s:property value="#channel.qipuId" />.json"><s:property value="#channel.qipuId" /></a></json:property>
            <json:property name="name" escapeXml="false"><a href="${ctx}/search/search/channelInfo.action?id=<s:property value="#channel.id" />"><s:property value="#channel.name" /></a></json:property>
            <json:property name="universalCode" escapeXml="false"><a target="_blank" href="http://www.tvmao.com/api/EpgDataServlet?secret=Gee6S5dQ&c=<s:property value="#channel.universalCode" />"><s:property value="#channel.universalCode" /></a></json:property>

            <json:property name="liveType" ><s:property value="@com.iqiyi.pps.epg.core.model.channel.ChannelBase@LIVE_TYPE_MAP.get(#channel.liveType)" escape="false"/></json:property>
            <json:property name="type" ><s:property value="@com.iqiyi.pps.epg.core.model.channel.ChannelBase@TYPE_MAP.get(#channel.type)" escape="false"/></json:property>

            <json:property name="qitanId" ><s:property value="#channel.qitanId" escape="false"/></json:property>
            <json:property name="logoEntityId" escapeXml="false"><a target="_blank" href="http://qipu-test.qiyi.domain/int/entity/nocache/<s:property value="#channel.logoEntityId" />.json"><s:property value="#channel.logoEntityId" /></a></json:property>
            <json:property name="logoUrl" escapeXml="false"><a target="_blank" href="<s:property value="#channel.logoUrl" />"><img height="25px" src="<s:property value="#channel.logoUrl" />" /></a></json:property>
            <json:property name="isEnable" ><s:property value="@com.iqiyi.pps.epg.core.model.channel.ChannelBase@ENABLE_MAP.get(#channel.isEnable)" escape="false"/></json:property>
            <json:property name="addTime" ><s:property value="#channel.addTime" escape="false"/></json:property>
            <json:property name="isSync" ><s:property value="@com.iqiyi.pps.epg.core.model.channel.ChannelBase@SYNC_MAP.get(#channel.isSync)" escape="false"/></json:property>


            </json:object>
        </s:iterator>
    </json:array>
</json:object>